<?php if (count($supports) > 0) :?>
<div class="row-fluid">
<div class="detail_main_c"><?php echo __('IP_online_support'); ?></div>
    <table width="217px" border="0" align="center" class="table table-bordered sup_1">
        <tbody>
            <tr>
                <?php foreach ($supports as $key => $value) : if($value->type == YAHOO):?>
                    <td width="50%" align="center">
                        <a href="ymsgr:sendim?<?php echo $value->content;?>" title="<?php echo $value->title;?>">
                            <img src="http://opi.yahoo.com/online?u=<?php echo $value->content;?>&amp;m=g&amp;t=1&amp;l" border="0" title="<?php echo $value->title;?>" alt="<?php echo $value->title;?>" height="54" width="70">
                        </a>
                        <div><b><?php echo $value->title;?></b></div>
                    </td>
                <?php endif;?>
                <?php if($value->type == SKYPE):?>    
                    <td width="50%" align="center">
                        <a href="skype:<?php echo $value->content; ?>">
                            <img src="http://mystatus.skype.com/smallclassic/<?php echo $value->content; ?>" style="width: 120px;" alt="My status" /> 
                        </a> 
                        <div><b><?php echo $value->title;?></b></div>
                    </td>
                <?php endif;?>
                <?php if($key != 0  && $key % 2 != 0) echo '</tr><tr>';?>
                <?php endforeach;?>
            </tr>
        </tbody>
    </table>
</div>
<div class="row-fluid">
    <img src="/images/call-me.png" class="sup_2">
    <div class="sup_6">
        <p class="sup_3">Hot line</p>
        <?php foreach ($supports as $key => $value) : if($value->type == TELEPHONE):?>
            <p class="sup_4"><?php echo $value->content;?></p>
        <?php endif; endforeach;?>

    </div>
</div>
<?php endif;?>